
check-mount:     file format elf64-littleaarch64


Disassembly of section .init:

00000000004005f8 <_init>:
  4005f8:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  4005fc:	910003fd 	mov	x29, sp
  400600:	94000046 	bl	400718 <call_weak_fn>
  400604:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400608:	d65f03c0 	ret

Disassembly of section .plt:

0000000000400610 <.plt>:
  400610:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  400614:	90000090 	adrp	x16, 410000 <__FRAME_END__+0xf5b0>
  400618:	f947fe11 	ldr	x17, [x16, #4088]
  40061c:	913fe210 	add	x16, x16, #0xff8
  400620:	d61f0220 	br	x17
  400624:	d503201f 	nop
  400628:	d503201f 	nop
  40062c:	d503201f 	nop

0000000000400630 <fclose@plt>:
  400630:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400634:	f9400211 	ldr	x17, [x16]
  400638:	91000210 	add	x16, x16, #0x0
  40063c:	d61f0220 	br	x17

0000000000400640 <fopen@plt>:
  400640:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400644:	f9400611 	ldr	x17, [x16, #8]
  400648:	91002210 	add	x16, x16, #0x8
  40064c:	d61f0220 	br	x17

0000000000400650 <__libc_start_main@plt>:
  400650:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400654:	f9400a11 	ldr	x17, [x16, #16]
  400658:	91004210 	add	x16, x16, #0x10
  40065c:	d61f0220 	br	x17

0000000000400660 <memset@plt>:
  400660:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400664:	f9400e11 	ldr	x17, [x16, #24]
  400668:	91006210 	add	x16, x16, #0x18
  40066c:	d61f0220 	br	x17

0000000000400670 <system@plt>:
  400670:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400674:	f9401211 	ldr	x17, [x16, #32]
  400678:	91008210 	add	x16, x16, #0x20
  40067c:	d61f0220 	br	x17

0000000000400680 <__gmon_start__@plt>:
  400680:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400684:	f9401611 	ldr	x17, [x16, #40]
  400688:	9100a210 	add	x16, x16, #0x28
  40068c:	d61f0220 	br	x17

0000000000400690 <abort@plt>:
  400690:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400694:	f9401a11 	ldr	x17, [x16, #48]
  400698:	9100c210 	add	x16, x16, #0x30
  40069c:	d61f0220 	br	x17

00000000004006a0 <__isoc99_sscanf@plt>:
  4006a0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006a4:	f9401e11 	ldr	x17, [x16, #56]
  4006a8:	9100e210 	add	x16, x16, #0x38
  4006ac:	d61f0220 	br	x17

00000000004006b0 <printf@plt>:
  4006b0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006b4:	f9402211 	ldr	x17, [x16, #64]
  4006b8:	91010210 	add	x16, x16, #0x40
  4006bc:	d61f0220 	br	x17

00000000004006c0 <fgets@plt>:
  4006c0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006c4:	f9402611 	ldr	x17, [x16, #72]
  4006c8:	91012210 	add	x16, x16, #0x48
  4006cc:	d61f0220 	br	x17

Disassembly of section .text:

00000000004006d0 <_start>:
  4006d0:	d280001d 	mov	x29, #0x0                   	// #0
  4006d4:	d280001e 	mov	x30, #0x0                   	// #0
  4006d8:	aa0003e5 	mov	x5, x0
  4006dc:	f94003e1 	ldr	x1, [sp]
  4006e0:	910023e2 	add	x2, sp, #0x8
  4006e4:	910003e6 	mov	x6, sp
  4006e8:	580000c0 	ldr	x0, 400700 <_start+0x30>
  4006ec:	580000e3 	ldr	x3, 400708 <_start+0x38>
  4006f0:	58000104 	ldr	x4, 400710 <_start+0x40>
  4006f4:	97ffffd7 	bl	400650 <__libc_start_main@plt>
  4006f8:	97ffffe6 	bl	400690 <abort@plt>
  4006fc:	00000000 	.inst	0x00000000 ; undefined
  400700:	00400904 	.word	0x00400904
  400704:	00000000 	.word	0x00000000
  400708:	00400920 	.word	0x00400920
  40070c:	00000000 	.word	0x00000000
  400710:	004009a0 	.word	0x004009a0
  400714:	00000000 	.word	0x00000000

0000000000400718 <call_weak_fn>:
  400718:	90000080 	adrp	x0, 410000 <__FRAME_END__+0xf5b0>
  40071c:	f947f000 	ldr	x0, [x0, #4064]
  400720:	b4000040 	cbz	x0, 400728 <call_weak_fn+0x10>
  400724:	17ffffd7 	b	400680 <__gmon_start__@plt>
  400728:	d65f03c0 	ret
  40072c:	00000000 	.inst	0x00000000 ; undefined

0000000000400730 <deregister_tm_clones>:
  400730:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  400734:	91018000 	add	x0, x0, #0x60
  400738:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  40073c:	91018021 	add	x1, x1, #0x60
  400740:	eb00003f 	cmp	x1, x0
  400744:	540000a0 	b.eq	400758 <deregister_tm_clones+0x28>  // b.none
  400748:	90000001 	adrp	x1, 400000 <_init-0x5f8>
  40074c:	f944e021 	ldr	x1, [x1, #2496]
  400750:	b4000041 	cbz	x1, 400758 <deregister_tm_clones+0x28>
  400754:	d61f0020 	br	x1
  400758:	d65f03c0 	ret
  40075c:	d503201f 	nop

0000000000400760 <register_tm_clones>:
  400760:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  400764:	91018000 	add	x0, x0, #0x60
  400768:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  40076c:	91018021 	add	x1, x1, #0x60
  400770:	cb000021 	sub	x1, x1, x0
  400774:	9343fc21 	asr	x1, x1, #3
  400778:	8b41fc21 	add	x1, x1, x1, lsr #63
  40077c:	9341fc21 	asr	x1, x1, #1
  400780:	b40000a1 	cbz	x1, 400794 <register_tm_clones+0x34>
  400784:	90000002 	adrp	x2, 400000 <_init-0x5f8>
  400788:	f944e442 	ldr	x2, [x2, #2504]
  40078c:	b4000042 	cbz	x2, 400794 <register_tm_clones+0x34>
  400790:	d61f0040 	br	x2
  400794:	d65f03c0 	ret

0000000000400798 <__do_global_dtors_aux>:
  400798:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  40079c:	910003fd 	mov	x29, sp
  4007a0:	f9000bf3 	str	x19, [sp, #16]
  4007a4:	b0000093 	adrp	x19, 411000 <fclose@GLIBC_2.17>
  4007a8:	39418260 	ldrb	w0, [x19, #96]
  4007ac:	35000080 	cbnz	w0, 4007bc <__do_global_dtors_aux+0x24>
  4007b0:	97ffffe0 	bl	400730 <deregister_tm_clones>
  4007b4:	52800020 	mov	w0, #0x1                   	// #1
  4007b8:	39018260 	strb	w0, [x19, #96]
  4007bc:	f9400bf3 	ldr	x19, [sp, #16]
  4007c0:	a8c27bfd 	ldp	x29, x30, [sp], #32
  4007c4:	d65f03c0 	ret

00000000004007c8 <frame_dummy>:
  4007c8:	17ffffe6 	b	400760 <register_tm_clones>

00000000004007cc <xy_usb_detect_mount>:
  4007cc:	d11383ff 	sub	sp, sp, #0x4e0
  4007d0:	a9007bfd 	stp	x29, x30, [sp]
  4007d4:	910003fd 	mov	x29, sp
  4007d8:	9102e3a0 	add	x0, x29, #0xb8
  4007dc:	d2808001 	mov	x1, #0x400                 	// #1024
  4007e0:	aa0103e2 	mov	x2, x1
  4007e4:	52800001 	mov	w1, #0x0                   	// #0
  4007e8:	97ffff9e 	bl	400660 <memset@plt>
  4007ec:	b904dfbf 	str	wzr, [x29, #1244]
  4007f0:	f9026bbf 	str	xzr, [x29, #1232]
  4007f4:	f90267bf 	str	xzr, [x29, #1224]
  4007f8:	f90263bf 	str	xzr, [x29, #1216]
  4007fc:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  400800:	91274000 	add	x0, x0, #0x9d0
  400804:	97ffff9b 	bl	400670 <system@plt>
  400808:	7100001f 	cmp	w0, #0x0
  40080c:	54000741 	b.ne	4008f4 <xy_usb_detect_mount+0x128>  // b.any
  400810:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  400814:	9127a001 	add	x1, x0, #0x9e8
  400818:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  40081c:	9127c000 	add	x0, x0, #0x9f0
  400820:	97ffff88 	bl	400640 <fopen@plt>
  400824:	f9025fa0 	str	x0, [x29, #1208]
  400828:	f9425fa0 	ldr	x0, [x29, #1208]
  40082c:	f100001f 	cmp	x0, #0x0
  400830:	54000521 	b.ne	4008d4 <xy_usb_detect_mount+0x108>  // b.any
  400834:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  400838:	9127c001 	add	x1, x0, #0x9f0
  40083c:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  400840:	91280000 	add	x0, x0, #0xa00
  400844:	97ffff9b 	bl	4006b0 <printf@plt>
  400848:	12800000 	mov	w0, #0xffffffff            	// #-1
  40084c:	1400002b 	b	4008f8 <xy_usb_detect_mount+0x12c>
  400850:	910063a0 	add	x0, x29, #0x18
  400854:	d2801402 	mov	x2, #0xa0                  	// #160
  400858:	52800001 	mov	w1, #0x0                   	// #0
  40085c:	97ffff81 	bl	400660 <memset@plt>
  400860:	910063a0 	add	x0, x29, #0x18
  400864:	91020007 	add	x7, x0, #0x80
  400868:	910063a0 	add	x0, x29, #0x18
  40086c:	9101c006 	add	x6, x0, #0x70
  400870:	910063a0 	add	x0, x29, #0x18
  400874:	91018005 	add	x5, x0, #0x60
  400878:	910063a0 	add	x0, x29, #0x18
  40087c:	91014004 	add	x4, x0, #0x50
  400880:	910063a0 	add	x0, x29, #0x18
  400884:	91010003 	add	x3, x0, #0x40
  400888:	910063a2 	add	x2, x29, #0x18
  40088c:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  400890:	91286001 	add	x1, x0, #0xa18
  400894:	9102e3a0 	add	x0, x29, #0xb8
  400898:	97ffff82 	bl	4006a0 <__isoc99_sscanf@plt>
  40089c:	910063a0 	add	x0, x29, #0x18
  4008a0:	91020006 	add	x6, x0, #0x80
  4008a4:	910063a0 	add	x0, x29, #0x18
  4008a8:	9101c005 	add	x5, x0, #0x70
  4008ac:	910063a0 	add	x0, x29, #0x18
  4008b0:	91018004 	add	x4, x0, #0x60
  4008b4:	910063a0 	add	x0, x29, #0x18
  4008b8:	91014003 	add	x3, x0, #0x50
  4008bc:	910063a0 	add	x0, x29, #0x18
  4008c0:	91010002 	add	x2, x0, #0x40
  4008c4:	910063a1 	add	x1, x29, #0x18
  4008c8:	90000000 	adrp	x0, 400000 <_init-0x5f8>
  4008cc:	9128c000 	add	x0, x0, #0xa30
  4008d0:	97ffff78 	bl	4006b0 <printf@plt>
  4008d4:	9102e3a0 	add	x0, x29, #0xb8
  4008d8:	f9425fa2 	ldr	x2, [x29, #1208]
  4008dc:	52808001 	mov	w1, #0x400                 	// #1024
  4008e0:	97ffff78 	bl	4006c0 <fgets@plt>
  4008e4:	f100001f 	cmp	x0, #0x0
  4008e8:	54fffb41 	b.ne	400850 <xy_usb_detect_mount+0x84>  // b.any
  4008ec:	f9425fa0 	ldr	x0, [x29, #1208]
  4008f0:	97ffff50 	bl	400630 <fclose@plt>
  4008f4:	52800000 	mov	w0, #0x0                   	// #0
  4008f8:	a9407bfd 	ldp	x29, x30, [sp]
  4008fc:	911383ff 	add	sp, sp, #0x4e0
  400900:	d65f03c0 	ret

0000000000400904 <main>:
  400904:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400908:	910003fd 	mov	x29, sp
  40090c:	97ffffb0 	bl	4007cc <xy_usb_detect_mount>
  400910:	d503201f 	nop
  400914:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400918:	d65f03c0 	ret
  40091c:	00000000 	.inst	0x00000000 ; undefined

0000000000400920 <__libc_csu_init>:
  400920:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400924:	910003fd 	mov	x29, sp
  400928:	a901d7f4 	stp	x20, x21, [sp, #24]
  40092c:	90000094 	adrp	x20, 410000 <__FRAME_END__+0xf5b0>
  400930:	90000095 	adrp	x21, 410000 <__FRAME_END__+0xf5b0>
  400934:	91374294 	add	x20, x20, #0xdd0
  400938:	913722b5 	add	x21, x21, #0xdc8
  40093c:	a902dff6 	stp	x22, x23, [sp, #40]
  400940:	cb150294 	sub	x20, x20, x21
  400944:	f9001ff8 	str	x24, [sp, #56]
  400948:	2a0003f6 	mov	w22, w0
  40094c:	aa0103f7 	mov	x23, x1
  400950:	9343fe94 	asr	x20, x20, #3
  400954:	aa0203f8 	mov	x24, x2
  400958:	97ffff28 	bl	4005f8 <_init>
  40095c:	b4000194 	cbz	x20, 40098c <__libc_csu_init+0x6c>
  400960:	f9000bb3 	str	x19, [x29, #16]
  400964:	d2800013 	mov	x19, #0x0                   	// #0
  400968:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  40096c:	aa1803e2 	mov	x2, x24
  400970:	aa1703e1 	mov	x1, x23
  400974:	2a1603e0 	mov	w0, w22
  400978:	91000673 	add	x19, x19, #0x1
  40097c:	d63f0060 	blr	x3
  400980:	eb13029f 	cmp	x20, x19
  400984:	54ffff21 	b.ne	400968 <__libc_csu_init+0x48>  // b.any
  400988:	f9400bb3 	ldr	x19, [x29, #16]
  40098c:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400990:	a942dff6 	ldp	x22, x23, [sp, #40]
  400994:	f9401ff8 	ldr	x24, [sp, #56]
  400998:	a8c47bfd 	ldp	x29, x30, [sp], #64
  40099c:	d65f03c0 	ret

00000000004009a0 <__libc_csu_fini>:
  4009a0:	d65f03c0 	ret

Disassembly of section .fini:

00000000004009a4 <_fini>:
  4009a4:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  4009a8:	910003fd 	mov	x29, sp
  4009ac:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4009b0:	d65f03c0 	ret
